home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 26.zip / BS1 part 26 / Powervisor v1.10b disk2.adf / GettingStarted < prev    next >
Text File  |  1991-09-28  |  28KB  |  684 lines

  1. *--------------------------------------*
  2. * Tutorial : general use of PowerVisor * Sat Sep 28 20:13:25 1991
  3. *--------------------------------------*
  4.  
  5. ===================== Commands used in this tutorial =========================
  6.  
  7.    disp        Display integer
  8.    help        Ask for help
  9.    hold        Go to 'hold' mode (PowerVisor closes screen and window)
  10.    info        Give information on element in list
  11.    kill        Kill a task or process
  12.    list        Show a list (tasks, libraries, message ports, ...)
  13.    memory      List memory
  14.    mode        Set PowerVisor preferences
  15.    port        Go to the message port list
  16.    saveconfig  Save config file
  17.    task        Go to the task list
  18.    why         Ask more information about an error
  19.    prefs       Set/Get preferences for PowerVisor
  20.  
  21.  
  22. =========================== Starting PowerVisor ==============================
  23.  
  24. To ²²start PowerVisor, you can simply type (Before you continue, note that
  25. I assume that the ¹s:PowerVisor-config file does not exist and that the
  26. ¹s:PowerVisor-startup file is minimal (like on the original disk). If this
  27. is not the case some output may not be the same as in this tutorial. If
  28. you want to be absolutely sure, delete s:PowerVisor-config and
  29. ¹s:PowerVisor-startup (or rename them)) :
  30.  
  31. < pv <enter>
  32.  
  33. or
  34.  
  35. < run pv <enter>
  36.  
  37. Normally PowerVisor will now open a screen. If this does not work it
  38. is possible that you do not have enough memory. Quit some programs and
  39. try again. PowerVisor is not very memory consuming. Also note that
  40. you need the ¹powervisor.library installed in your libs: directory.
  41.  
  42. If everything is fine you will see the PowerVisor screen. This screen
  43. is very sober. The bottom line of the screen is the ¹¹stringgadget where
  44. you must type all PowerVisor commands. This stringgadget is automatically
  45. activated whenever the PowerVisor window becomes active.
  46.   (1.3 : due to a bug in AmigaDOS 1.2/1.3 you can get problems when you
  47.   use a ¹sunmouse like program. If the PowerVisor stringgadget is active,
  48.   no other window can be activated. If this happens you must activate
  49.   the window by clicking on it.)
  50. The stringgadget buffer is 400 bytes long by default. This is also the
  51. largest command that you can execute (you can change this value with
  52. the 'prefs' command, see the reference section).
  53. The rest of the screen is dedicated for PowerVisor output. After startup
  54. this screen is normally empty (except for the copyright message).
  55.  
  56. Because the PowerVisor commandline is a stringgadget you can use all
  57. ²editing facilities provided for stringgadgets.
  58.  
  59. You will also see a blue bar (this color may be different if you use other
  60. color preferences or if you use AmigaDOS 1.3) just below the screen bar
  61. containing the word 'Main' at the left and a strange box at the right.
  62. These things will be explained in the 'Screen' tutorial chapter.
  63.  
  64.  
  65. ================== Current list and some basic commands ======================
  66.  
  67. Left from the stringgadget is the ³³current list indicator. Default is
  68. 'task'. The ²current list is the list that is used for ²string parsing
  69. (see later) and the 'list' command. Try this :
  70.  
  71. < list <enter>
  72.  
  73. And you get something like this :
  74.  
  75. > Task node name      : Node     Pri StackPtr  StackS Stat Command         Acc
  76. > ----------------------------------------------------------------------------
  77. > RAM                 : 07E25260 00  07E2554E    1200 Rdy             PROC -
  78. > Background Process  : 07E26BA8 00  07E2CBD8    4000 Wait iprefs     (02) -
  79. > RexxMaster          : 07E39BA8 04  07E3A3EA    2048 Wait            (00) -
  80. > PowerSnap 1.0 by Nic: 07E48450 05  07E48C9A    2000 Wait            PROC -
  81. > SYS:System/CLI      : 07E52958 00  07E53862    4096 Wait            (00) -
  82. > CON                 : 07E569B8 05  07E574BA    3200 Wait            PROC -
  83. > Background CLI      : 07E654B0 00  07E65EFE    3200 Wait            (01) -
  84. > ramlib              : 07E1F680 00  07E1FE80    2048 Wait            PROC -
  85. > PowerVisor1.0.task  : 07E8CE60 00  07E8E656    1024 Wait            TASK -
  86. > console.device      : 07E0E1A2 00  07E0F1A4    4096 Wait            TASK -
  87. > SCSI bus handler    : 07E0AFD0 0C  07E0B3B6    1000 Wait            TASK -
  88. > scsi.device         : 07E0A3F8 0B  07E0A396    1000 Wait            TASK -
  89. > WB_2.x              : 07E11488 0A  07E11E4E    2400 Wait            PROC -
  90. > DF0                 : 07E17208 0A  07E17BCE    2400 Wait            PROC -
  91. > Workbench           : 07E548C8 01  07E568EE    8192 Wait            (05) -
  92. > Work                : 07E19940 0A  07E1A306    2400 Wait            PROC -
  93. > trackdisk.device    : 07E0F988 05  07E0FB96     512 Wait            TASK -
  94. > Background Process  : 07E3B4A0 00  07E5256C    4000 Wait clock      (03) -
  95. > input.device        : 07E08AF2 14  07E09AF8    4096 Wait            TASK -
  96. > Background Process  : 07E7BE08 04  07E7BAD6    4000 Run  pv         (04) -
  97.  
  98. You can also get this list by typing :
  99.  
  100. < list task <enter>
  101.  
  102. But since 'task' is the current list (at this moment) this is not
  103. necessary.
  104.  
  105. In this list you see all the tasks currently in the system. 'Node' is the
  106. address in memory, 'Pri' is the task priority (in hexadecimal), 'StackPtr'
  107. is the contents of A7 or SP, 'StackS' is the size of the stack, 'Stat'
  108. is the state of the task ('Rdy' for ready, 'Wait' for waiting and 'Run'
  109. for running) and 'Command' is the executing command (this is only for cli
  110. processes). After the command name you can see 'TASK' for tasks, 'PROC' for
  111. a process and '(xx)' for a cli. 'Acc' is for accounting information, it
  112. is disabled at this moment.
  113.  
  114. All hexadecimal numbers are padded with zeroes.
  115.  
  116. You can also go to another current list by typing the list name :
  117.  
  118. < p <enter>
  119.  
  120. (Note how the current list indicator has changed)
  121.  
  122. < l <enter>
  123.  
  124. Note that we used ¹abbreviations for the commands. 'l' is the same as
  125. 'list' and 'p' is equivalent to 'port'. Most commands can be
  126. abbreviated. You can type 'help commands' to see all commands with their
  127. ¹shortcuts (the capital letters represent the required bit of the command,
  128. all other characters are optional).
  129.  
  130. You get something like this :
  131.  
  132. > MsgPort node name   : Node     Pri SigBit SigTask
  133. > ----------------------------------------------------------------------------
  134. > REXX                : 07E2B13C 00      31 07E39BA8
  135. > AREXX               : 07E3A438 00      30 07E39BA8
  136. > PowerVisor1.0.port  : 07E81996 00       1 00000000
  137. > IPrefs.rendezvous   : 07E23800 E2      31 07E26BA8
  138. > SetPatch Port       : 07E23060 9C       0 00000000
  139.  
  140. Now we go back to the task list :
  141.  
  142. < t <enter>
  143.  
  144. or
  145.  
  146. < task <enter>
  147.  
  148. and ask a list :
  149.  
  150. < list <enter>
  151.  
  152. > Task node name      : Node     Pri StackPtr  StackS Stat Command         Acc
  153. > ----------------------------------------------------------------------------
  154. > RAM                 : 07E25260 00  07E2554E    1200 Rdy             PROC -
  155. > Background Process  : 07E26BA8 00  07E2CBD8    4000 Wait iprefs     (02) -
  156. > RexxMaster          : 07E39BA8 04  07E3A3EA    2048 Wait            (00) -
  157. > PowerSnap 1.0 by Nic: 07E48450 05  07E48C9A    2000 Wait            PROC -
  158. > SYS:System/CLI      : 07E52958 00  07E53862    4096 Wait            (00) -
  159. > CON                 : 07E569B8 05  07E574BA    3200 Wait            PROC -
  160. > Background CLI      : 07E654B0 00  07E65EFE    3200 Wait            (01) -
  161. > ramlib              : 07E1F680 00  07E1FE80    2048 Wait            PROC -
  162. > PowerVisor1.0.task  : 07E8CE60 00  07E8E656    1024 Wait            TASK -
  163. > console.device      : 07E0E1A2 00  07E0F1A4    4096 Wait            TASK -
  164. > SCSI bus handler    : 07E0AFD0 0C  07E0B3B6    1000 Wait            TASK -
  165. > scsi.device         : 07E0A3F8 0B  07E0A396    1000 Wait            TASK -
  166. > WB_2.x              : 07E11488 0A  07E11E4E    2400 Wait            PROC -
  167. > DF0                 : 07E17208 0A  07E17BCE    2400 Wait            PROC -
  168. > Workbench           : 07E548C8 01  07E568EE    8192 Wait            (05) -
  169. > Work                : 07E19940 0A  07E1A306    2400 Wait            PROC -
  170. > trackdisk.device    : 07E0F988 05  07E0FB96     512 Wait            TASK -
  171. > Background Process  : 07E3B4A0 00  07E5256C    4000 Wait clock      (03) -
  172. > input.device        : 07E08AF2 14  07E09AF8    4096 Wait            TASK -
  173. > Background Process  : 07E7BE08 04  07E7BAD6    4000 Run  pv         (04) -
  174.  
  175. Now we are going to ask some information about a task.
  176.  
  177. < info powervisor <enter>
  178.  
  179. and we get something like this :
  180.  
  181. > Task node name      : Node     Pri StackPtr  StackS Stat Command         Acc
  182. > ----------------------------------------------------------------------------
  183. > PowerVisor1.0.task  : 07E8CE60 00  07E8E656    1024 Wait            TASK -
  184. >
  185. > IDNestCnt    : 00       | TDNestCnt    : FF       | SigAlloc     : E000FFFF
  186. > SigWait      : E0000000 | SigRecvd     : 00000000 | SigExcept    : 00000000
  187. > TrapAlloc    : 8000     | TrapAble     : 0000     | ExceptData   : 00000000
  188. > ExceptCode   : 00F83A9C | TrapData     : 00000000 | TrapCode     : 07E810DE
  189. > SpLower      : 07E8E2A8 | SpUpper      : 07E8E6A8 | SpReg        : 07E8E656
  190. > MemEntry     : 07E8CEAA | UserData     : 00000000 |
  191.  
  192. This is the listing of the task structure. If you ask info about a
  193. process you get more information. If you ask info about a cli process
  194. you get even more information.
  195.   (1.3 : The amount of information is a bit less in 1.3 because there
  196.   are some new fields in AmigaDOS 2.0).
  197.  
  198. Because the task list was the current list we can use the names present
  199. in this list instead of the pointer to the task. This name is not case
  200. sensitive and need not be the complete name. All the following commands
  201. would be equivalent (see the 'Expressions' tutorial file for more
  202. info) :
  203.  
  204. < info powerv <enter>
  205.  
  206. < info 07E8CE60 <enter>
  207.  
  208. < info 07e8ce60 <enter>
  209.  
  210. < info 'PoWerVisor1.0.tASK' <enter>
  211.  
  212. < info task:powerv task <enter>
  213.  
  214. Look at the last command. We would have needed this notation if our current
  215. list wasn't the task list. The '<list>:' notation can be used everywhere.
  216. (Do not forget the extra 'task' argument, otherwise PowerVisor can crash)
  217.  
  218. You see that it can be handy to set the current list right.
  219.  
  220. Some commands (like 'kill', 'freeze', ...) do not need the current list.
  221. They automatically assume the current list which is right in most cases for
  222. that particular command (this feature is called '¹autodefault'). For
  223. example (Don't type this, because it can crash your Amiga !) :
  224.  
  225.     Go to another list :
  226.  
  227.     < port <enter>
  228.  
  229.     Try to kill the PowerVisor task :
  230.  
  231.     < kill powervisor <enter>
  232.  
  233.     Although the current list is 'port', you need not preceed 'powervisor'
  234.     with 'task:'. The 'kill' command automatically assumes the 'task' list.
  235.     If you still want to 'kill' a port you can always type :
  236.  
  237.     < kill port:someport <enter>
  238.  
  239. The 'info' command (see above) does not set it's own current list because
  240. it can be used on all lists.
  241.  
  242.  
  243. ============================== Snapping away =================================
  244.  
  245. It is not always possible to use names. If you have two tasks with the
  246. same name it would be ambiguous. In that case you must use the address of
  247. the task. Try the following :
  248.  
  249. List the screens :
  250.  
  251. < list scrs <enter>
  252.  
  253. and you will get something like this :
  254.  
  255. > Screen name         : Address  Left  Top Width Height FirstWindow
  256. > ----------------------------------------------------------------------------
  257. > PowerVisor   (V1.00 : 07E8EB20    0    0   692    452 07E8F818
  258. > Other screen        : 07E748E0    0    0   704    456 07E753F8
  259. > Workbench Screen    : 07E3AF88    0 -572   692   1024 07E507C8
  260.  
  261. Type (Don't press enter)
  262.  
  263. < info <space>
  264.  
  265. and position the mouse on the address 07E8EB20 :
  266.  
  267. < <click left mouse button> scrs
  268.  
  269. On the commandline there should now be something like 'info 07E8EB20 scrs'.
  270.  
  271. < <enter>
  272.  
  273. and we get :
  274.  
  275. > Screen name         : Address  Left  Top Width Height FirstWindow
  276. > ----------------------------------------------------------------------------
  277. > PowerVisor   (V1.00 : 07E8EB20    0    0   692    452 07E8F818
  278. >
  279. > Flags        : 021F     | Font         : 07E8ECA6 | ViewPort     : 07E8EB4C
  280. > RastPort     : 07E8EB74 | BitMap       : 07E8EBD8 | FirstGadget  : 07E7D17C
  281. > DefaultTitle : PowerVisor   (V1.00 beta)
  282. > DetailPen    : 00       | BlockPen     : 01       | ExtData      : 00000000
  283. > UserData     : 00000000 | BarHeight    : 0A       | BarVBorder   : 01
  284. > BarHBorder   : 05       | MenuVBorder  : 02       | MenuHBorder  : 04
  285. > WBorTop      : 02       | WBorLeft     : 04       | WBorRight    : 04
  286. > WBorBottom   : 02       | LayerInfo    : 07E8EC00 | BarLayer     : 07E8F650
  287. >
  288. > Flags: CUSTOMSCREEN SHOWTITLE SCREENHIRES
  289.  
  290. This feature of PowerVisor is called '¹snapping'. The left mouse button
  291. copies the word under the mousepointer to the stringgadget.
  292. If you snap a word PowerVisor will automatically add a space to the
  293. commandline below. If you do not like this you can disable this feature
  294. with the 'mode' command (see the reference section).
  295.  
  296. Also note the special form of the 'info' command. The second argument to
  297. 'info' is optional and is a name of a list. You MUST use the second argument
  298. if you want info about something that is not in the current list. Otherwise
  299. 'info' will try to interprete a screen as a task or something else. This
  300. could crash the Amiga !
  301.  
  302.  
  303. =========================== PowerVisor hot key ===============================
  304.  
  305. Go to the Workbench screen :
  306.  
  307. < <left amiga> n
  308.  
  309. If you want PowerVisor back you can use the ¹hotkey (if you have QWERTY):
  310.  
  311. < <right alt>+<right shift>+/
  312.  
  313. For any other keyboard you must press the key left from the <right shift>
  314. key.
  315.  
  316. The PowerVisor screen snaps back to life.
  317.  
  318. You can also use this key combination if PowerVisor is in hold-mode.
  319.  
  320. < hold <enter>
  321.  
  322. The PowerVisor screen disappears.
  323.  
  324. < <right alt>+<right shift>+/
  325.  
  326. The PowerVisor screen is opened again.
  327.  
  328. This keycombination can be redefined with the 'prefs' command (see
  329. 'InstallingPowerVisor' section).
  330.  
  331.  
  332. ================================= Errors =====================================
  333.  
  334. Everybody makes mistakes. Therefore PowerVisor needs some sort of
  335. ²error handling. Make sure that you have the following files installed in you
  336. 's:' directory before you continue: ¹PowerVisor-errors, ¹PowerVisor-help and
  337. ¹PowerVisor-ctrl.
  338.  
  339. Try this :
  340.  
  341. < task <enter>
  342. < list <enter>
  343.  
  344. > Task node name      : Node     Pri StackPtr  StackS Stat Command         Acc
  345. > ----------------------------------------------------------------------------
  346. > RAM                 : 07E25260 00  07E2554E    1200 Rdy             PROC -
  347. > Background Process  : 07E26BA8 00  07E2CBD8    4000 Wait iprefs     (02) -
  348. > RexxMaster          : 07E39BA8 04  07E3A3EA    2048 Wait            (00) -
  349. > PowerSnap 1.0 by Nic: 07E48450 05  07E48C9A    2000 Wait            PROC -
  350. > SYS:System/CLI      : 07E529C0 00  07E538CA    4096 Wait            (00) -
  351. > ramlib              : 07E1F680 00  07E1FE80    2048 Wait            PROC -
  352. > CON                 : 07E56A20 05  07E57522    3200 Wait            PROC -
  353. > Background CLI      : 07E65518 00  07E65F66    3200 Wait            (01) -
  354. > console.device      : 07E0E1A2 00  07E0F1A4    4096 Wait            TASK -
  355. > SCSI bus handler    : 07E0AFD0 0C  07E0B3B6    1000 Wait            TASK -
  356. > scsi.device         : 07E0A3F8 0B  07E0A396    1000 Wait            TASK -
  357. > WB_2.x              : 07E11488 0A  07E11E4E    2400 Wait            PROC -
  358. > DF0                 : 07E17208 0A  07E17BCE    2400 Wait            PROC -
  359. > Workbench           : 07E54930 01  07E56956    8192 Wait            (05) -
  360. > PowerVisor1.0.task  : 07E8FD10 00  07E90BA6    1024 Wait            TASK -
  361. > Work                : 07E19940 0A  07E1A306    2400 Wait            PROC -
  362. > trackdisk.device    : 07E0F988 05  07E0FB96     512 Wait            TASK -
  363. > Background Process  : 07E3B4A0 00  07E52354    4000 Wait clock      (03) -
  364. > input.device        : 07E08AF2 14  07E09AF8    4096 Wait            TASK -
  365. > Background Process  : 07E7BF18 04  07E800B6    4000 Run  pv         (04) -
  366.  
  367. < info07E8FD10 <enter>
  368.  
  369. > Syntax Error !
  370.  
  371. Now you have done something wrong ! But what ? Well we should ask
  372. PowerVisor :
  373.  
  374. < why <enter>
  375.  
  376. > Syntax Error !
  377. >    You typed a command that powervisor did not understand, or some
  378. >    of your arguments are badly formed.
  379.  
  380. The 'why' command can be very handy sometimes. You now notice that you forgot
  381. a <space> between 'info' and '07E8FD10'.
  382.  
  383.  
  384. ================================ Templates ===================================
  385.  
  386. If you forgot the ¹syntax for some command you can ask the ²command template.
  387.  
  388. < memory? <enter>
  389. or
  390. < memory ? <enter>
  391.  
  392. > Memory [<start> [<bytes>]]
  393.  
  394. You can read the following information from this output :
  395.    - You can use 'm' as an abbreviation for 'memory' (the uppercase
  396.      part of the command 'Memory')
  397.    - <start> is an optional argument
  398.    - <bytes> is also optional but you must supply a <start> value if
  399.      you want to supply a <bytes> value.
  400.  
  401. The templates for these commands are located in the '¹PowerVisor-help' file.
  402. You can also show the template using the 'help' command :
  403.  
  404. < help memory_tmp <enter>
  405. > Memory [<start> [<bytes>]]
  406.  
  407. This is the only way to ask a template for an ²ARexx command that has no
  408. equivalent on the PowerVisor commandline :
  409.  
  410. < help assign_tmp <enter>
  411. > ASSIGN <assignment string>
  412.  
  413. (Note that 'ASSIGN' is completely in uppercase. This is normal because
  414. in ¹ARexx you can't use ³abbreviations for commands)
  415.  
  416.  
  417. ========================= Interrupting PowerVisor ============================
  418.  
  419. Try the following :
  420.  
  421. < memory <enter>
  422.  
  423. or
  424.  
  425. < m <enter>
  426.  
  427. and you get something like :
  428.  
  429. > 00000000: 00000000  07E007E4  00F807FA  00F80ADE           ................
  430. > 00000010: 00F80AA2  00F80AA4  00F80AA6  00F80AA8           ................
  431. > 00000020: 00F80BC8  00F80AAC  00F80AAF  00F80AB0           ................
  432. > 00000030: 00F80AB2  00F80AB4  00F80AB6  00F80AB8           ................
  433. > 00000040: 00F80ABA  00F80ABC  00F80ABE  00F80AC0           ................
  434. > 00000050: 00F80AC2  00F80AC4  00F80AC6  00F80AC8           ................
  435. > 00000060: 00F80ACA  00F810BC  00F8111A  00F81150           ...............P
  436. > 00000070: 00F811AE  00F81244  00F8128E  00F812D8           .......D........
  437. > 00000080: 00F80B38  00F80B3A  00F80B3C  00F80B3E           ...8...:...<...>
  438. > 00000090: 00F80B40  00F80B42  00F80B44  00F80B46           ...@...B...D...F
  439. > 000000A0: 00F80B48  00F80B4A  00F80B4C  00F80B4E           ...H...J...L...N
  440. > 000000B0: 00F80B50  00F80B52  FFFFFFFF  00F80B56           ...P...R.......V
  441. > 000000C0: 00F80B58  00F80B5A  00F80B5C  00F80B5E           ...X...Z...\...^
  442. > 000000D0: 00F80B60  00F80B62  00F80B64  00F80B66           ...`...b...d...f
  443. > 000000E0: 00F80B68  00F80B6A  00F80B6C  00F80B6E           ...h...j...l...n
  444. > 000000F0: 00F80B70  00F80B72  00F80B74  00F80B76           ...p...r...t...v
  445. > 00000100: 66FFE6FC  66D7FE08  66FFAEF7  00000000           f...f...f.......
  446. > 00000110: 66FF6EFA  66FBE67F  66FFAE7F  66FF66F1           f.n.f..f..f.f.
  447. > 00000120: 66FFF6FB  66F7E6DF  66FFE67F  66FF6EF7           f...f...f..f.n.
  448. > 00000130: 66FF66F9  66FF67FF  66FF6EFF  66DFB6E7           f.f.f.g.f.n.f...
  449.  
  450. This is a memory listing.
  451.  
  452. Now try this :
  453.  
  454. < memory 0 100000 <enter>
  455.  
  456. PowerVisor will now list 100000 bytes beginning at 0 :
  457.  
  458. > 00000000: 00000000  07E007E4  00F807FA  00F80ADE           ................
  459. > 00000010: 00F80AA2  00F80AA4  00F80AA6  00F80AA8           ................
  460. > 00000020: 00F80BC8  00F80AAC  00F80AAF  00F80AB0           ................
  461. > 00000030: 00F80AB2  00F80AB4  00F80AB6  00F80AB8           ................
  462. > 00000040: 00F80ABA  00F80ABC  00F80ABE  00F80AC0           ................
  463. > 00000050: 00F80AC2  00F80AC4  00F80AC6  00F80AC8           ................
  464. > 00000060: 00F80ACA  00F810BC  00F8111A  00F81150           ...............P
  465. > 00000070: 00F811AE  00F81244  00F8128E  00F812D8           .......D........
  466. > 00000080: 00F80B38  00F80B3A  00F80B3C  00F80B3E           ...8...:...<...>
  467. > 00000090: 00F80B40  00F80B42  00F80B44  00F80B46           ...@...B...D...F
  468. > 000000A0: 00F80B48  00F80B4A  00F80B4C  00F80B4E           ...H...J...L...N
  469. > 000000B0: 00F80B50  00F80B52  FFFFFFFF  00F80B56           ...P...R.......V
  470. > ...
  471.  
  472. If the page is full PowerVisor will wait for you. The ³current list indicator
  473. changes to '-MORE-'. Press <space> everytime you want to proceed to the
  474. next page. If you want to stop this listing you can press <esc>.
  475.  
  476. You can use the <esc> key to interrupt PowerVisor whenever you want. Or you
  477. can use the <right-alt>+<help> key to pause the PowerVisor output (the
  478. current list indicator will change to '-HALT-')
  479.  
  480. Note that if you do not want PowerVisor to stop at each page you can use
  481. the 'mode' command to disable this feature :
  482.  
  483. < mode nomore <enter>
  484.  
  485. < memory 0 100000 <enter>
  486.  
  487. > 00000000: 00000000  07E007E4  00F807FA  00F80ADE            ................
  488. > 00000010: 00F80AA2  00F80AA4  00F80AA6  00F80AA8            ................
  489. > 00000020: 00F80BC8  00F80AAC  00F80AAF  00F80AB0            ................
  490. > 00000030: 00F80AB2  00F80AB4  00F80AB6  00F80AB8            ................
  491. > 00000040: 00F80ABA  00F80ABC  00F80ABE  00F80AC0            ................
  492. > 00000050: 00F80AC2  00F80AC4  00F80AC6  00F80AC8            ................
  493. > 00000060: 00F80ACA  00F810BC  00F8111A  00F81150            ...............P
  494. > 00000070: 00F811AE  00F81244  00F8128E  00F812D8            .......D........
  495. > 00000080: 00F80B38  00F80B3A  00F80B3C  00F80B3E            ...8...:...<...>
  496. > 00000090: 00F80B40  00F80B42  00F80B44  00F80B46            ...@...B...D...F
  497. > 000000A0: 00F80B48  00F80B4A  00F80B4C  00F80B4E            ...H...J...L...N
  498. > 000000B0: 00F80B50  00F80B52  FFFFFFFF  00F80B56            ...P...R.......V
  499. > ...
  500.  
  501. < <esc>
  502.  
  503. < mode more <enter>
  504.  
  505. The interrupt and pause keys can be redefined with the 'prefs' command.
  506. (See the 'Screen' tutorial file for more info about 'more')
  507. (See the 'InstallingPowerVisor' file for more info about the 'prefs' command)
  508.  
  509.  
  510. ============================= History buffer =================================
  511.  
  512. PowerVisor has a ²history buffer so you can easily retrieve previous
  513. commands.
  514. This can be handy if you want to repeat a command a few times, or if you
  515. want to correct an error in a commandline.
  516.  
  517. Starting with PowerVisor V1.10 this history buffer works exactly like the
  518. history buffer in the AmigaDOS 2.0 shell. There is one exception : PowerVisor
  519. does not support the standard <shift>+<up> key to search in the history.
  520. You can use this feature too if you use the standard s:PowerVisor-startup
  521. file (the one provided with this release of PowerVisor). This startup
  522. script installs this feature for you (it uses the s:pv/SearchHist ML-script
  523. for that purpose).
  524.  
  525.  
  526. For example type :
  527.  
  528. < help <enter>
  529. > PowerVisor help (1.10 Beta)   Sun Sep 22 13:10:59 1991
  530. > ---------------------------
  531. > You can type one of the following for more information on a specific
  532. > item:
  533. >
  534. >       help                 for this screen
  535. >       help general         for general information
  536. >
  537. >       help commands        for a list of all available commands
  538. >       help functions       for a list of all available functions
  539. >       help syslists        for a list of all available lists
  540. >       help <command>_cmd   gives help for a specific command
  541. >       help <command>_tmp   gives a command template (or <command> ?)
  542. >       help <function>_func gives help for a specific function
  543. >       help <list>_list     gives help for a specific list
  544. >
  545. >       help cmdline         shows all the commandline options available
  546. >       help arguments       gives help for all possible argument types
  547. >       help libfuncs        information about library functions
  548. >       help bugs            for all bugs in the current version
  549. >       help debugging       for general debugging help
  550. >
  551. > You can use abbreviations ('h gen' instead of 'help general')
  552. > Note that you could get the wrong help when you do this.
  553. > ('help li' will probably not give what you wanted: list, libfuncs, ...)
  554.  
  555. < <arrow up>
  556.  
  557. On the commandline appears 'help', this is the previous command.
  558.  
  559. Use the stringgadget key to go to the end of the line :
  560.  
  561. < <shift>+<arrow right>
  562.  
  563. < <space> general <enter>
  564.  
  565. Now you have executed the command 'help general'.
  566.  
  567. > Help general
  568. > ------------
  569. > You can type one of the following for more information on a specific
  570. > item:
  571. >
  572. >       help snap            for the screen snap feature
  573. >       help keys            for information about keys
  574. >       help input           for info about the input editing possibilities
  575. >       help redirection     for redirection to a file
  576. >       help files           for all the files PowerVisor uses
  577. >       help historybuf      the history buffer
  578. >       help portprint       for the portprint facility
  579. >       help autodefault     for the automatic default feature
  580. >       help templates       for the template feature
  581.  
  582. You can use the <arrow up> and <arrow down> keys to scroll in the
  583. ²history buffer. Normally only 20 lines are remembered in the history buffer.
  584. Try this :
  585.  
  586. < prefs history <enter>
  587. > 00000014 , 20
  588.  
  589. < prefs history 100 <enter>
  590.  
  591. < prefs history <enter>
  592. > 00000064 , 100
  593.  
  594. You see that you can change the maximum number of lines in the history with
  595. the 'prefs' command. Note that setting another number clears the history
  596. buffer. (Also see the 'InstallingPowerVisor' file for more info about
  597. the 'prefs' command)
  598.  
  599.  
  600. =================== Making a Config file for PowerVisor ======================
  601.  
  602. PowerVisor uses the ¹¹s:PowerVisor-config file (if present) to set default
  603. preferences. This file contains, for example, the value of the 'mode'
  604. variable. If you have installed PowerVisor as you wish (with the 'mode'
  605. command) you can use 'saveconfig' to save the config file.
  606.  
  607. The s:PowerVisor-config file contains the following information :
  608.  
  609.    - All things you can set with the 'mode' command
  610.    - All things you can set with the 'prefs' command
  611.      Some examples :
  612.          - The maximum length for a commandline
  613.          - Some default values for logical windows
  614.          - Some keydefinitions
  615.          - historybuffer length
  616.          - startup on workbench screen instead of own screen
  617.          - ...
  618.  
  619. I recommend that you work with the default values until you now more about
  620. PowerVisor. Especially the logical window preferences are difficult to set
  621. right if you are a first time user. If you think you can cope you can
  622. read the 'InstallingPowerVisor' file.
  623.  
  624.  
  625. ================================ A summary ===================================
  626.  
  627. In this section I mention the most useful commands of PowerVisor.
  628. These are the commands that you are probably going to use
  629. most. To get more information about these commands refer to the
  630. 'CommandReference' or look in the corresponding tutorial file ('Debug'
  631. for debug commands, 'Script' for script commands, ...)
  632. Note that all commands described here begin with some letters in uppercase
  633. and the rest in lowercase. The uppercase is the required part of the command.
  634. You may abbreviate the command until only the uppercase part is used. Note
  635. that this uppercase/lowercase convention is also used in the online help
  636. and in the 'CommandReference'.
  637.  
  638.  
  639. General commands :
  640.  
  641.    Quit
  642.    Help <subject>
  643.  
  644. Setting preferences :
  645.  
  646.    MOde
  647.    PREfs
  648.    SAVEConfig
  649.  
  650. Looking at things :
  651.  
  652.    Disp <expression>
  653.    List [<list name>]
  654.    Info <list element> [<list name>]
  655.    Memory [<start> [<bytes>]]
  656.    Unasm [<start> [<instructions>]]
  657.  
  658. Searching, clearing and copying memory :
  659.  
  660.    Search <start> <bytes> <string>
  661.    Next
  662.    Fill <destination> <bytes> <fill with string>
  663.    Copy <source> <destination> <bytes>
  664.  
  665. Debugging :
  666.  
  667.    DEBug <command> [<argument>]
  668.    TRace <command> [<argument>]
  669.    Break <command> [<argument>]
  670.    SYmbol <command> [<argument>]
  671.  
  672.  
  673. Some useful aliases defined in s/PowerVisor-startup (See the 'Aliases' file) :
  674.  
  675.    WHY                     Give a short help about the last error
  676.    LFD <library name>      Load a fd-file for a library
  677.    FDEBUG                  Initialize the fullscreen debugger
  678.  
  679.  
  680. ================================= The end ====================================
  681.  
  682. This is it. Now you can get started with the real work, but I recommend that
  683. you read the 'Expressions' tutorial file first.
  684.